package com.docker.fjk.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.docker.fjk.mapper.DockerProjectMapper;
import com.docker.fjk.domain.DockerProject;
import com.docker.fjk.service.IDockerProjectService;

/**
 * 检查项目设置Service业务层处理
 * 
 * @author ruoyi
 * @date 2025-04-09
 */
@Service
public class DockerProjectServiceImpl implements IDockerProjectService 
{
    @Autowired
    private DockerProjectMapper dockerProjectMapper;

    /**
     * 查询检查项目设置
     * 
     * @param id 检查项目设置主键
     * @return 检查项目设置
     */
    @Override
    public DockerProject selectDockerProjectById(Long id)
    {
        return dockerProjectMapper.selectDockerProjectById(id);
    }

    /**
     * 查询检查项目设置列表
     * 
     * @param dockerProject 检查项目设置
     * @return 检查项目设置
     */
    @Override
    public List<DockerProject> selectDockerProjectList(DockerProject dockerProject)
    {
        return dockerProjectMapper.selectDockerProjectList(dockerProject);
    }

    /**
     * 新增检查项目设置
     * 
     * @param dockerProject 检查项目设置
     * @return 结果
     */
    @Override
    public int insertDockerProject(DockerProject dockerProject)
    {
        return dockerProjectMapper.insertDockerProject(dockerProject);
    }

    /**
     * 修改检查项目设置
     * 
     * @param dockerProject 检查项目设置
     * @return 结果
     */
    @Override
    public int updateDockerProject(DockerProject dockerProject)
    {
        return dockerProjectMapper.updateDockerProject(dockerProject);
    }

    /**
     * 批量删除检查项目设置
     * 
     * @param ids 需要删除的检查项目设置主键
     * @return 结果
     */
    @Override
    public int deleteDockerProjectByIds(Long[] ids)
    {
        return dockerProjectMapper.deleteDockerProjectByIds(ids);
    }

    /**
     * 删除检查项目设置信息
     * 
     * @param id 检查项目设置主键
     * @return 结果
     */
    @Override
    public int deleteDockerProjectById(Long id)
    {
        return dockerProjectMapper.deleteDockerProjectById(id);
    }
}
